import request from '@/utils/request'

export function queryAllShoppingCart(params) {
  return request({
    url: '/shoppingCart/queryAllShoppingCart',
    method: 'get',
    params
  })
}

export function insertShoppingCart(params) {
  return request({
    url: '/shoppingCart/insertShoppingCart',
    method: 'get',
    params
  })
}

export function updateShoppingCart(params) {
  return request({
    url: '/shoppingCart/updateShoppingCart',
    method: 'get',
    params
  })
}

export function deleteShoppingCart(params) {
  return request({
    url: '/shoppingCart/deleteShoppingCart',
    method: 'get',
    params
  })
}

export function buyShoppingCart(params) {
  return request({
    url: '/shoppingCart/buyShoppingCart',
    method: 'get',
    params
  })
}
